#!/usr/bin/env bash
#
# Build tests for MKS Robin nano v1.3 with native USB modification
# (STM32F4 genericSTM32F407VE)
#

# exit on first failure
set -e

#
# MKS/ZNP Robin nano v1.3 with Emulated DOGM FSMC and native USB mod
#
use_example_configs Mks/Robin
opt_add USB_MOD
opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V1_3_F4 SERIAL_PORT -1
exec_test $1 $2 "MKS/ZNP Robin nano v1.3 with Emulated DOGM FSMC (native USB mod)" "$3"

# cleanup
restore_configs
